package com.example.bookseckill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("book_order")
public class OrderEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * member_id
     */
//    private Long memberId;
    /**
     * 订单号
     */
    private String orderSn;
    /**
     * create_time
     */
    private String createTime;
    /**
     * 用户名
     */
    private String memberUsername;
}
